﻿using UnityEngine;
using System.Collections;

public class MenuControl : MonoBehaviour {

	// Use this for initialization
	public GameObject Background;
	public GameObject ScoreTable;
	public GameObject Level;
	void HighScore ()
	{
		iTween.MoveTo(ScoreTable, iTween.Hash("y",0));
	}
	void Back()
	{
		iTween.MoveTo(ScoreTable, iTween.Hash("y",6));
	}
	void Play()
	{
		iTween.MoveTo (Background, iTween.Hash ("x", 11));
		iTween.MoveTo (Level, iTween.Hash ("x", 0));
	}
	void Easy()
	{
		Application.LoadLevel ("gameplay");
	}
	void Medium()
	{
		Application.LoadLevel ("gameplay");
	}
	void Hard()
	{
		Application.LoadLevel ("gameplay");
	}
	void Quit()
	{
		Application.Quit ();
	}
	void Back1()
	{
		iTween.MoveTo(Level, iTween.Hash("x",11));
		iTween.MoveTo (Background, iTween.Hash ("x", 0));
		   
	}
	void Start () {
	
	}
	
	// Update is called once per frame
	void Update () {
	
	}
}
